
// 自动生成模板SeckillOrder
package system
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 秒杀订单表 结构体  SeckillOrder
type SeckillOrder struct {
    global.GVA_MODEL
  Order_sn  *string `json:"order_sn" form:"order_sn" gorm:"column:order_sn;size:50;"`  //订单编号
  User_id  *int `json:"user_id" form:"user_id" gorm:"column:user_id;size:20;"`  //用户编号
  Decimal_device_id  *int `json:"decimal_device_id" form:"decimal_device_id" gorm:"column:decimal_device_id;size:20;"`  //医疗设备表编号
  Number  *int `json:"number" form:"number" gorm:"column:number;size:20;"`  //购买数量
  Amount  *int `json:"amount" form:"amount" gorm:"column:amount;size:20;"`  //支付金额
  Pay_type  *string `json:"pay_type" form:"pay_type" gorm:"column:pay_type;"`  //支付方式
  Seckill_order_status  *string `json:"seckill_order_status" form:"seckill_order_status" gorm:"column:seckill_order_status;"`  //订单状态
  Seckill_order_address  *string `json:"seckill_order_address" form:"seckill_order_address" gorm:"column:seckill_order_address;size:50;"`  //订单地址
  Seckill_price  *float64 `json:"seckill_price" form:"seckill_price" gorm:"column:seckill_price;"`  //秒杀价
  Seckill_activity_id  *int `json:"seckill_activity_id" form:"seckill_activity_id" gorm:"column:seckill_activity_id;size:20;"`  //秒杀活动编号
}


// TableName 秒杀订单表 SeckillOrder自定义表名 seckill_order
func (SeckillOrder) TableName() string {
    return "seckill_order"
}





